//
//  Recommend.m
//  Hehe
//
//  Created by lanou3g on 15/9/9.
//  Copyright (c) 2015年 王冠英. All rights reserved.
//

#import "Recommend.h"

@implementation Recommend
-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"ID"]) {
        self.id = value;
    }
    if ([key isEqualToString:@"name"]) {
        self.titleName = value;
    }
    
}

- (NSString *)description
{
    return [NSString stringWithFormat:@"%@-----%@",self.cover_image,self.id];
}
@end

